package com.abacus.pos.base


import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext


abstract class BaseRepo {


    protected val TAG = javaClass.simpleName

    protected suspend fun <T> launch(block: () -> T): T = withContext(Dispatchers.IO) {
        block()
    }

}